const { Schema, model, SchemaTypes } = require("mongoose");
require("./Menu");
const RoleSchema = new Schema({
    name: {
        type: String,
    },
    description: {
        type: String,
    },
    menus: [{ type: SchemaTypes.ObjectId, ref: "Menu" }],
    interfaces: [{ type: Object }],
});
module.exports = model("Role", RoleSchema);
